In a class of 35, students are numbered from 1 to 35. The ratio of boys to girls is 4:3. The roll numbers of students begin with boys and end with girls. Find the probability that a student selected is either a boy with prime roll number or a girl with composite roll number or an even roll number.
Total students: 35
Boys:Girls = 4:3 ⇒ Boys = 20, Girls = 15
Roll numbers: Boys 1-20, Girls 21-35
Event A: Boy with prime roll number
Primes in 1-20: 2,3,5,7,11,13,17,19 → 8 numbers
Event B: Girl with composite roll number
Composites in 21-35: 21,22,24,25,26,27,28,30,32,33,34,35 → 12 numbers
Event C: Even roll number
Evens in 1-35: 2,4,6,...,34 → 17 numbers (2-34, step 2)
Intersections:
A ∩ B: Impossible (mutually exclusive)
A ∩ C: Boy with prime and even → only 2 → 1 number
B ∩ C: Girl with composite and even → 22,24,26,28,30,32,34 → 7 numbers
A ∩ B ∩ C: Impossible
Use inclusion-exclusion principle:
P(A ∪ B ∪ C) = P(A) + P(B) + P(C) - P(A ∩ C) - P(B ∩ C)
Calculate: 8/35 + 12/35 + 17/35 - 1/35 - 7/35 = 29/35
Final Answer: \( \frac{29}{35} \)